home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8851 < prev    next >
Encoding:
Text File  |  1996-08-05  |  729 b   |  22 lines

  1. Newsgroups: comp.lang.c
  2. Path: bear.wn.bawue.de!jo
  3. From: jo@bear.wn.bawue.de (Joerg Sommrey)
  4. Subject: Re: argc/argv & switches
  5. Message-ID: <Dnt8r5.F3w@bear.wn.bawue.de>
  6. Organization: private
  7. Date: Tue, 5 Mar 1996 19:57:05 GMT
  8. References: <4h2j8j$9gn@milo.freenet.vancouver.bc.ca> <danpop.825593142@rscernix>
  9.  
  10. In <danpop.825593142@rscernix> danpop@mail.cern.ch (Dan Pop) writes:
  11.  
  12. >Note that *++argv[0] is technically incorrect, because there is no
  13. >guarantee that argv[0] can be modified by the program, it can be legally
  14. >stored in a read only memory segment.
  15.  
  16. Does this mean there is an incorrect example in K&R2?
  17. At p.117f they use *++argv[0].
  18.  
  19. -Jo
  20. -- 
  21. -rw-r--r--   1 jo       users          75 Mar  5 16:20 /home/jo/.signature
  22.